Return

Edit Task: SetTaskResourceRange

Format

SCHED / EditTask '<TaskName>' SetTaskResourceRange '<ResourceName>' <MinRangeApplies> <MinRangeValue> <MaxRangeApplies> <MaxRangeValue>

Description

The SetTaskResourceRange attribute under EditTask defines the resource range constraint for the specified resource for all the task's possibilities.

Parameters

ParameterDescription
ResourceNameA string of text in single quotes of the resource that is being defined within the command.
MinRangeAppliesA Boolean value that determines if there is a minimum range constraint.
MinRangeValueA double value that defines the minimum range constraint value.
MaxRangeAppliesA Boolean value that determines if there is a maximum range constraint.
MaxRangeValueA double value that defines the minimum range constraint value.

Examples

Allow any minimum capacity, and set a maximum of 15 capacity units for all possibilities containing ResA in TaskA.

SCHED / EditTask 'TaskA' SetTaskResourceRange 'ResA' False -1 True 15